package hz.mobileproject.pda.utils;

/**
 * Created by Administrator on 2017/7/11 0011.
 */

public class IsOrNo_Area {

    /**
     *
     * 单例对象实例*/
    private static IsOrNo_Area instance = null;

    public  static IsOrNo_Area getInstance() {
        if (instance == null) {
            instance = new IsOrNo_Area();
        }
        return instance;
    }



    public boolean getArea(String mag){
        switch (mag){
            case "一监区":
                return  true;
            case "二监区":
                return  true;
            case "三监区":
                return  true;
            case "四监区":
                return  true;
            case "五监区":
                return  true;
            case "六监区":
                return  true;
            case "七监区":
                return  false;
            case "八监区":
                return  false;
            case "九监区":
                return  false;
            case "十监区":
                return  true;
            case "十一监区":
                return  false;
            default:
                return false;

        }
    }

}
